/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package calendarconvert;

import java.util.Collection;
import java.util.HashSet;

/**
 *
 * @author Nom
 */
public class EventList {
    private static Collection<Event> eventList = new HashSet<Event>();
    
    public static void addEvent( Event event ) {
        System.out.println("Object added: " + event);
        eventList.add(event);
    }
    
    public static Collection<Event> getEvents() {
        return eventList;
    }
    
    public static void clear() {
        eventList.clear();
    }
}
